﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SignalShopBase;

namespace TestModule
{
    public class MultiplyModule : SignalShopModule
    {
        public MultiplyModule() : base(NAME, PATH) { }

        public override void Execute(Signal target, Signal source)
        {
            int N = target.N;

            for (int n = -N; n <= N; n++)
            {
                target[n].Mul(source[n]);
            }
        }

        private const string NAME = "Multiply";
        private const string PATH = "Transform/Multiply";
    }
}
